package business;

public class Hall 
{
	//member variables
	private static int ID_Counter;
	private int ID;
	private String RoomNumber;
	private int SeatCapacity;
	
	//constructor
	public Hall(String RoomNumber,int SeatCapacity)
	{
		ID = ID_Counter;
		ID_Counter++;
		
		this.RoomNumber = RoomNumber;
		this.SeatCapacity = SeatCapacity;
	}
	
	//constructor
	public Hall(int ID, String RoomNumber,int SeatCapacity)
	{
		this.ID = ID;
		this.RoomNumber = RoomNumber;
		this.SeatCapacity = SeatCapacity;
	}

	//MUTATORS AND ACCESSORS
	public String getRoomNumber() {
		return RoomNumber;
	}

	public void setRoomNumber(String roomNumber) {
		RoomNumber = roomNumber;
	}

	public int getSeatCapacity() {
		return SeatCapacity;
	}

	public void setSeatCapacity(int seatCapacity) {
		SeatCapacity = seatCapacity;
	}

	public int getID() {
		return ID;
	}

	public void setID(int iD) {
		ID = iD;
	}

	public static int getID_Counter() {
		return ID_Counter;
	}

	public static void setID_Counter(int iD_Counter) {
		ID_Counter = iD_Counter;
	}
	
}
